import React, { Component } from 'react'
import BlogList from '../../Components/BlogList'
import Article from '../../types/Article'

interface IProps {
    articles: Article[];
    loading: boolean;
}
export default class HomeView extends Component<IProps> {
    render() {
        const { articles, loading } = this.props;
        return (
            <div style={{minHeight:'86vh'}}>
                <BlogList loading={loading} articles={articles} />
            </div>
        )
    }
}
